package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 互动平台
 *
 * @author code-generate
 * @date 2022-02-18
 */
@Data
@Accessors(chain = true)
@DbTable(tableName = "t_interact_platform")
public class InteractPlatform extends BaseEntity {
    /**
     * 发送人ID
     */
    @DbTableField(columnName = "c_sender_id", dbType = DbTypeEnum.VARCHAR)
    public String senderId ;

    /**
     * 发送人昵称
     */
    @DbTableField(columnName = "c_sender_name", dbType = DbTypeEnum.VARCHAR)
    public String senderName ;

    /**
     * 接收人ID
     */
    @DbTableField(columnName = "c_receive_id", dbType = DbTypeEnum.VARCHAR)
    public String receiveId ;

    /**
     * 接收人昵称
     */
    @DbTableField(columnName = "c_receive_name", dbType = DbTypeEnum.VARCHAR)
    public String receiveName ;

    /**
     * 发送内容
     */
    @DbTableField(columnName = "c_content", dbType = DbTypeEnum.VARCHAR)
    public String content ;

    /**
     * 发送的附件url
     */
    @DbTableField(columnName = "c_file_url", dbType = DbTypeEnum.VARCHAR)
    public String fileUrl ;

    @DbTableField(columnName = "c_rel_id", dbType = DbTypeEnum.INTEGER)
    public Integer relId;

    @DbTableField(columnName = "c_tree_id", dbType = DbTypeEnum.INTEGER)
    public String treeId;

    @DbTableField(columnName = "c_tree_code", dbType = DbTypeEnum.VARCHAR)
    public String treeCode;

    @DbTableField(columnName = "c_phone", dbType = DbTypeEnum.VARCHAR)
    public String phone;

    @DbTableField(columnName = "c_status", dbType = DbTypeEnum.VARCHAR)
    public Integer status;

    @DbTableField(columnName = "c_tree_name", dbType = DbTypeEnum.VARCHAR)
    public String treeName;

    @DbTableField(columnName = "c_evt_id", dbType = DbTypeEnum.VARCHAR)
    public String evtId ;

    @DbTableField(columnName = "c_Lng", dbType = DbTypeEnum.VARCHAR)
    public Double Lng ;

    @DbTableField(columnName = "c_lat", dbType = DbTypeEnum.VARCHAR)
    public Double lat ;

    @DbTableField(columnName = "c_address", dbType = DbTypeEnum.VARCHAR)
    public String address ;

    @ApiModelProperty(value = "附件")
    public List<InteractPlatformFile> fileList;
}
